<?php if (!defined('THINK_PATH')) exit();?>﻿<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<!-- 时钟样式 -->
<meta charset="UTF-8">
	<title>Document</title>
	<style>
		#box{
			width:250px;
			height:100px;
			border:1px solid black;
			text-align: center;
			line-height: 100px;
			font-size: 40px;
			color:#fff;
			background: black;

		}
		#bigBox{
			width:250px;
			height:50px;
			border:1px solid black;
			text-align: center;
			line-height: 50px;
			font-size: 20px;
			color:#fff;
			background: #c81623;
		}
	</style>
<!-- 时钟样式结束 -->
<!--[if lt IE 9]>
<script type="text/javascript" src="/web3/Public/js/js_admin/lib/html5.js"></script>
<script type="text/javascript" src="/web3/Public/js/js_admin/lib/respond.min.js"></script>
<script type="text/javascript" src="/web3/Public/js/js_admin/lib/PIE_IE678.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="/web3/Public/css/css_admin/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="/web3/Public/css/css_admin/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="/web3/Public/css/css_admin/lib/Hui-iconfont/1.0.7/iconfont.css" />
<link rel="stylesheet" type="text/css" href="/web3/Public/css/css_admin/lib/icheck/icheck.css" />
<link rel="stylesheet" type="text/css" href="/web3/Public/css/css_admin/static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="/web3/Public/css/css_admin/static/h-ui.admin/css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="/web3/Public/js/js_admin/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>我的桌面</title>
</head>
<body>
<div class="page-container">
	<p class="f-20 text-success">欢迎使用 <b>Feng网</b> 后台管理系统！</p>
	<p><b class="f-18 text-success">登录次数：18</b></p>

	<div class="cl pd-20" style=" background-color:#5bacb6">
		<img class="avatar size-XL l" src="/web3/Public/Picture/<?php echo ($_SESSION['adminuser']['uface']); ?>">

		<dl style="margin-left:80px; color:#fff">
			<dt><span class="f-18">用户名:&nbsp;&nbsp;<?php echo ($_SESSION['adminuser']['uname']); ?></span> 
			<dd class="pt-10 f-18" style="margin-left:0">个性签名:&nbsp;&nbsp;<?php echo ($_SESSION['adminuser']['content']); ?></dd>
		</dl>
		<br/>
		<div id='box'></div>
		<div id='bigBox'></div>
		<script>
			var div = document.getElementById('box');
			var div1 = document.getElementById('bigBox');
			setInterval(run,10);
			
			function run(){
				var date = new Date();
				var y = date.getFullYear();
				var ms = date.getMonth()+1;
				var d = date.getDate();
				var w = date.getDay();
				var h = date.getHours();
				var m = date.getMinutes();
				var s = date.getSeconds();
				switch(w){
					case 1:var weed = '一';break;
					case 2:var weed = '二';break;
					case 3:var weed = '三';break;
					case 4:var weed = '四';break;
					case 5:var weed = '五';break;
					case 6:var weed = '六';break;
					case 7:var weed = '日';break;
				}
				div.innerHTML = tostr(h) +':'+ tostr(m) + ':' + tostr(s) + '<br>';
				div1.innerHTML = tostr(y) +'年'+ tostr(ms) + '月' + tostr(d) + '日' + '星期' + weed;
			}
			function tostr(num)
			{
				if(num>=10){
					return num;
				}else{
					return '0'+ num;
				}
			}
			
		</script>
	</div>

	<div class="pd-20">
	  <table class="table">
	    <tbody>
	      <tr>
	        <th class="text-r" width="80">性别：</th>
	        <td><?php echo ($_SESSION['adminuser']['sex']); ?></td>
	      </tr>
	      <tr>
	        <th class="text-r">权限级别：</th>
	        <td><?php echo ($_SESSION['adminuser']['role']); ?></td>
	      </tr>
	      <tr>
	        <th class="text-r">邮箱：</th>
	        <td><?php echo ($_SESSION['adminuser']['email']); ?></td>
	      </tr>
	      <tr>
	        <th class="text-r">地址：</th>
	        <td><?php echo ($_SESSION['adminuser']['addr']); ?></td>
	      </tr>
	      <tr>
	        <th class="text-r">注册时间：</th>
	        <td><?php echo ($_SESSION['adminuser']['regtime']); ?></td>
	      </tr>
	    </tbody>
	  </table>
	</div>

	<table class="table table-border table-bordered table-bg">
		<thead>
			<tr>
				<th colspan="7" scope="col">信息统计</th>
			</tr>
			<tr class="text-c">
				<th>统计</th>
				<th>资讯库</th>
				<th>图片库</th>
				<th>产品库</th>
				<th>用户</th>
				<th>管理员</th>
			</tr>
		</thead>
		<tbody>
			<tr class="text-c">
				<td>总数</td>
				<td>0</td>
				<td>9</td>
				<td>0</td>
				<td>8</td>
				<td>20</td>
			</tr>
			<tr class="text-c">
				<td>今日</td>
				<td>0</td>
				<td>0</td>
				<td>0</td>
				<td>0</td>
				<td>0</td>
			</tr>
			<tr class="text-c">
				<td>昨日</td>
				<td>0</td>
				<td>0</td>
				<td>0</td>
				<td>0</td>
				<td>0</td>
			</tr>
			<tr class="text-c">
				<td>本周</td>
				<td>0</td>
				<td>0</td>
				<td>0</td>
				<td>0</td>
				<td>0</td>
			</tr>
			<tr class="text-c">
				<td>本月</td>
				<td>0</td>
				<td>0</td>
				<td>0</td>
				<td>0</td>
				<td>0</td>
			</tr>
		</tbody>
	</table>
</div>

<footer class="footer mt-20">
	<div class="container">
		<p>感谢jQuery、layer、laypage、Validform、UEditor、My97DatePicker、iconfont、Datatables、WebUploaded、icheck、highcharts、bootstrap-Switch<br>
			Copyright &copy;2015 H-ui.admin v2.3 All Rights Reserved.<br>
			感谢<a href="http://www.h-ui.net/" target="_blank" title="H-ui前端框架">H-ui前端框架</a>提供前端技术支持</p>
	</div>
</footer>
<script type="text/javascript" src="__Public__/js/js_admin/js/jquery.min.js"></script> 
<script type="text/javascript" src="__Public__/js/js_admin/static/h-ui/js/H-ui.js"></script>
<script type="text/javascript" src="__Public__/js/js_admin/static/h-ui.admin/js/H-ui.admin.js"></script>
</body>
</html>
<script type="text/javascript" src="/web3/Public/js/js_admin/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="/web3/Public/js/js_admin/static/h-ui/js/H-ui.js"></script> 
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?080836300300be57b7f34f4b3e97d911";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F080836300300be57b7f34f4b3e97d911' type='text/javascript'%3E%3C/script%3E"));
</script>
</body>
</html>